import 'package:flutter_my_web/constants/Constants.dart';
import 'package:flutter_lib/utils/DpUtils.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_my_web/widget/TextWidget.dart';

class EmptyWidget extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.black12,
      child: Center(child: Column(
        mainAxisSize: MainAxisSize.min,
        mainAxisAlignment: MainAxisAlignment.center,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
        Icon(Icons.error_outline,color: Colors.white,size: 30.0.wDp,),
          Container(height: 20.0.hDp,),
          SimpleText("暂无数据",color: Colors.white,fontSize: 20.sp,),
      ],),),
    );
  }
}
